import { X } from 'x-orm';
import { VrOrder } from './order';
@X.Entity({
    primary : 'id'
})
export class ProxyMargin{
    id;
    order_id;
    phone;
    normal_id;
    normal_money;
    jingji_id;
    jingji_money;
    jujian_id;
    jujian_money;
    jigou_id;
    jigou_money;
    add_time;

    @X.OneToOne(ProxyMargin,VrOrder,{
        from : 'order_id',
        to : item => item.order_id,
        reverse : item => item.proxy_margin
    })
    order : VrOrder;

}